<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String activity_id=request.getParameter("activity_id");
String user_id=request.getParameter("user_id");
//数据库验证
boolean flag=true;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>验证</title>
<style type="text/css">
body{text-align:center;}
#succ{
	margin:0 auto;
}
#fail{
	margin:0 auto;
}
</style>
</head>
<body>
<%
if(flag){
%>
<div id="succ"><h1>验证成功</h1><h2>欢迎你参加：2016汕头大学毕业典礼</h2><h2>座位：A区12排19号</h2></div>
<%}else{ %>
<div id="fail"><h1>验证失败</h1><h2>原因：此二维码是无效二维码</h2></div>
<%} %>
</body>
</html>